#ifndef MAINMENU_H
#define MAINMENU_H

#include <QMainWindow>
#include "helpdialog.h"

namespace Ui {
class MainMenu;
}

class MainMenu : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainMenu(QWidget *parent = 0);
    ~MainMenu();

    void paintEvent(QPaintEvent *);
    
private slots:
    void on_radioEasy_clicked();
    void on_radioNormal_clicked();
    void on_radioHard_clicked();


    void on_lineEditUsername_editingFinished();

    void on_btnPlay_clicked();

    void on_radioSinglePlayer_clicked();

    void on_radioTwoPlayer_clicked();

    void on_actionHelpTriggered();


signals:
    void doneSelecting(const QString &newDifficulty, const QString &newMode, const QString &newName);

private:
    Ui::MainMenu *ui;
    bool difficultySelected;
    bool modeSelected;
    QString userName;
    QString difficulty;
    QString mode;

public slots:
    void on_newGame();



};

#endif // MAINMENU_H
